Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib inside nuxeo-platform-content-template-manager-5.8.jar

Extension Point

Extension point factoryBinding of component ContentTemplateService.

Contributed Items

  • <factoryBinding factoryName="SimpleTemplateRootFactory" name="RootFactory" targetType="Root">
          <acl>
            <ace granted="true" permission="Everything" principal="Administrator"/>
            <ace granted="true" permission="Read" principal="members"/>
          </acl>
          <template>
            <templateItem id="default-domain" title="Default domain" typeName="Domain"/>
          </template>
        </factoryBinding>
  • <factoryBinding factoryName="SimpleTemplateFactory" name="DomainFactory" targetType="Domain">
          <template>
            <templateItem id="workspaces" title="Workspaces" typeName="WorkspaceRoot"/>
            <templateItem id="sections" title="Sections" typeName="SectionRoot"/>
            <templateItem id="templates" title="Templates" typeName="TemplateRoot"/>
          </template>
        </factoryBinding>

XML Source

<extension point="factoryBinding" target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService">

    <factoryBinding factoryName="SimpleTemplateRootFactory" name="RootFactory" targetType="Root">
      <acl>
        <ace granted="true" permission="Everything" principal="Administrator"/>
        <ace granted="true" permission="Read" principal="members"/>
      </acl>
      <template>
        <templateItem id="default-domain" title="Default domain" typeName="Domain"/>
      </template>
    </factoryBinding>

    <factoryBinding factoryName="SimpleTemplateFactory" name="DomainFactory" targetType="Domain">
      <template>
        <templateItem id="workspaces" title="Workspaces" typeName="WorkspaceRoot"/>
        <templateItem id="sections" title="Sections" typeName="SectionRoot"/>
        <templateItem id="templates" title="Templates" typeName="TemplateRoot"/>
      </template>
    </factoryBinding>

  </extension>